package com.dk.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wbh
 * @since 2023-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pd_craft_constitute")
public class CraftConstitute implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 工艺流程id
     */
    @TableField("craft_route_id")
    private String craftRouteId;

    /**
     * 工艺组成序号
     */
    @TableField("constitute_sequence")
    private Integer constituteSequence;

    /**
     * 工序编码
     */
    @TableField("procedure_id")
    private String procedureId;

    /**
     * 与下一道工序关系
     */
    @TableField("next_relationship")
    private String nextRelationship;

    /**
     * 甘特图颜色
     */
    @TableField("color")
    private String color;

    /**
     * 是否关键
     */
    @TableField("constitute_flag")
    private Integer constituteFlag;

    /**
     * 准备时间
     */
    @TableField("prepare_time")
    private String prepareTime;

    /**
     * 等待时间
     */
    @TableField("wait_time")
    private String waitTime;

    /**
     * 备注
     */
    @TableField("constitute_remark")
    private String constituteRemark;


}
